<#include "/WEB-INF/views/admin/common/layout/__mainlayout.html">
<#include "/WEB-INF/views/admin/common/__pagination.html">
<#assign navLink='admin:content:tags:list' />
<@mainlayout>
<div class="row-content am-cf">
	<div class="row">
		<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
			<div class="widget am-cf">
				<div class="widget-head am-cf">
					<div class="widget-title am-fl">标签列表</div>
				</div>
				<div class="widget-body  widget-body-lg am-fr">
				<form action="${ctx}/admin/content/tags/list/" method="post">
					<div class="am-u-sm-12 am-u-md-12 am-u-lg-3 am-fr">
						<div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
							<input type="text" class="am-form-field " name="search" value="${search}" placeholder="请输入要搜索的名称"> 
								<span class="am-input-group-btn">
								<button
									class="am-btn  am-btn-default am-btn-success tpl-table-list-field am-icon-search"
									type="submit">
								</button>
							</span>
						</div>
					</div>
				</form>
				<div class="am-u-sm-12">
                  <table width="100%" class="am-table am-table-compact tpl-table-black " id="example-r">
                      <thead>
                          <tr>
                              <th class="am-text-center">ID</th>
                              <th class="am-text-center">标签名</th>
                          </tr>
                      </thead>
                      <tbody>
                      	<#list pageList.list as tags>
                          <tr class="gradeX">
                              <td class="am-text-center">${tags.id!}</td>
                              <td class="am-text-center">${tags.tag_name!}</td>
                          </tr>
                          </#list>
                          <!-- more data -->
                      </tbody>
                  </table>
              </div>
              <@pagination page=pageList url='/admin/content/tags/list/?' />
              </div>
			</div>
		</div>
	</div>
</div>
</@mainlayout>

